package com.myday.system.domain.dto;

/**
 * @author: xiaofengs
 * @description :
 * @date: 2024/5/20 11:51
 * @version: 1.0
 */

public class MessageDTO {
    private Long userId;
    private String message;

    public MessageDTO() {
    }

    public MessageDTO(Long userId, String message) {
        this.userId = userId;
        this.message = message;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "MessageDTO{" +
                "message='" + message + '\'' +
                ", userId=" + userId +
                '}';
    }
}
